home *** CD-ROM | disk | FTP | other *** search
- ;
- ; AHelp installer Script - by Software Failure/Airsoft
- ;
- ; if there are any problems, email me: softwarefailure@dame.de
- ;
-
- (message (cat "\n\nAHelp V1.0 \n\n(c) 1997 by Andreas Falkenhahn\n\n\n"
- "This script installs AHelp and the prefs\n"
- "program to your harddisk and makes it ready\n"
- "to use."
- )
- )
-
- (welcome)
- (set #whereinstall "Where shall AHelp be installed?")
- (set #whereinstall1 "Where shall AHelp Prefs be installed?")
- (set #whereinstall2 "Where shall the AHelp documentation be installed?")
-
- (set #whereinstall_help "No help available")
-
- (set desti
- (askdir
- (prompt #whereinstall)
- (help "Select drawer of your choice. WBStartup is recommend")
- (default "Sys:WBStartup")
- )
- )
-
- (working "\n\nPlease wait...")
-
- (copyfiles
- (source "WBStartup/AHelp")
- (dest desti)
- (nogauge)
- (infos)
- )
-
- (set dest1
- (askdir
- (prompt #whereinstall1)
- (help "Select destination for AHelp Prefs")
- (default "Sys:Prefs")
- )
- )
-
- (working "\n\nPlease wait...")
-
- (copyfiles
- (source "Prefs/AHelp")
- (dest dest1)
- (nogauge)
- (infos)
- )
-
- (set dest2
- (askdir
- (prompt #whereinstall2)
- (help "Destination should be HELP: :-)")
- (default "Help:")
- )
- )
-
- (working "\n\nPlease wait...")
-
- (copyfiles
- (source "AHelp.guide")
- (dest dest2)
- (nogauge)
- (infos)
- )
-
- (set #prog desti)
-
- (run ("savepath \"%s\"envarc:AHelp.path" #prog))
-
- (copyfiles
- (source "envarc:AHelp.path")
- (dest "env:")
- (nogauge)
- )
-
- (message (cat "\n\nAHelp was successfully installed!\n\n"
- ))
-
- (exit (quiet))
-